package com.haoxuer.modulestore.article.data.entity;

import com.haoxuer.discover.data.annotations.FormAnnotation;
import com.haoxuer.discover.data.entity.AbstractEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


@Data
@FormAnnotation(title = "文章", add = "添加文章", list = "文章", update = "更新文章")
@Entity
@Table(name = "bs_article")
public class Article extends AbstractEntity {

    @Column(length = 50)
    private String name;

    @Column(length = 65536)
    private String note;
}
